package com.fastwire.carriere.serviceorder.vo;

import org.simpleframework.xml.Attribute;

import com.fastwire.carriere.serviceorder.entity.ProductInfo;

public class ProductInfoVo {
	@Attribute(required = false)
	private String productCode;
	@Attribute(required = false)
	private String productAction;
	@Attribute(required = false)
	private String productDescription;
	@Attribute(required = false)
	private String paraName;
	@Attribute(required = false)
	private String paraValue;
	@Attribute(required = false)
	private String type = "ProductInfo";

	public ProductInfoVo(ProductInfo productInfo) {
		super();
		this.productCode = productInfo.getProductCode();
		this.productAction = productInfo.getProductAction();
		this.productDescription = productInfo.getProductDescription();
		this.paraName = productInfo.getParaName();
		this.paraValue = productInfo.getParaValue();
	}

	public ProductInfoVo() {
		super();
		// TODO Auto-generated constructor stub
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getProductAction() {
		return productAction;
	}

	public void setProductAction(String productAction) {
		this.productAction = productAction;
	}

	public String getProductDescription() {
		return productDescription;
	}

	public void setProductDescription(String productDescription) {
		this.productDescription = productDescription;
	}

	public String getParaName() {
		return paraName;
	}

	public void setParaName(String paraName) {
		this.paraName = paraName;
	}

	public String getParaValue() {
		return paraValue;
	}

	public void setParaValue(String paraValue) {
		this.paraValue = paraValue;
	}

}
